package com.leizhou.springboot;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
/**
 * @author LT
 * @version 1.0.0
 * @ClassName WebServletInitializer.java
 * @Description TODO
 * @createTime 2020年04月17日 00:49:00
 */
/** web应用入口 */
public class WebServletInitializer extends SpringBootServletInitializer {

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        // 设置启动类
        builder.sources(HighApplication.class);
        // 返回spring应用构建对象
        return builder;
    }
} 